/*
 * communication.h
 *
 * Created: 2014-01-09 10:27:54
 *  Author: Johan
 */ 


#ifndef COMMUNICATION_H_
#define COMMUNICATION_H_

#define MAX_NUMBER_OF_SENSORS 8

char* data_cmd_send;
char* ok_cmd_send;
char* end_cmd_send;
char* new_line_send;
char* space_send;
char* err_send;

char* date_cmd_send;

char* data_cmd_rec;
char* rate_cmd_rec;
char* stop_cmd_rec;
char* run_cmd_rec;
char* sample_cmd_rec;
char* d_cmd_rec;
char* s_cmd_rec;
char* e_cmd_rec;


void receive(void);
void init_uart(void);
void init_variables(void);

#endif /* COMMUNICATION_H_ */